package com.codejoys.monitor.mapper;

import com.codejoys.monitor.domain.DeviceData;
import com.codejoys.monitor.domain.DeviceDataExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeviceDataMapper {
    long countByExample(DeviceDataExample example);

    int deleteByExample(DeviceDataExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DeviceData record);

    int insertSelective(DeviceData record);

    List<DeviceData> selectByExample(DeviceDataExample example);

    DeviceData selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DeviceData record, @Param("example") DeviceDataExample example);

    int updateByExample(@Param("record") DeviceData record, @Param("example") DeviceDataExample example);

    int updateByPrimaryKeySelective(DeviceData record);

    int updateByPrimaryKey(DeviceData record);
}